//路由表
const route=[
    {
      path: '/',
      redirect:'/login'
    },
    {
      path: '/login',
      name: 'Login',
      component: () => import(/* webpackChunkName: "about" */ '../views/Login/Login.vue')
    },
    {
      path: '/home',
      name: 'Home',
      redirect:'/admission',
      component: () => import(/* webpackChunkName: "about" */ '../views/Home.vue'),
      children:[
        {
          path: '/admission',
          name: 'Admission',
          component: () => import(/* webpackChunkName: "about" */ '../views/pages/Admission/Admission.vue'),
        },
        {
          path: '/diagnosis',
          name: 'Diagnosis',
          component: () => import(/* webpackChunkName: "about" */ '../views/pages/Diagnosis/Diagnosis.vue'),
        },
        {
          path: '/diagnosis/diagnosticList',
          name: 'DiagnosticList',
          component: () => import(/* webpackChunkName: "about" */ '../views/pages/Diagnosis/DiagnosticList.vue'),
        },
        {
          path: '/live',
          name: 'Live',
          component: () => import(/* webpackChunkName: "about" */ '../views/pages/Live/Live.vue'),
        },
        {
          path: '/live/createLive',
          name: 'CreateLive',
          component: () => import(/* webpackChunkName: "about" */ '../views/pages/Live/CreateLive.vue'),
        },
        {
          path: '/wallet',
          name: 'Wallet',
          component: () => import(/* webpackChunkName: "about" */ '../views/pages/Wallet/Wallet.vue'),
        },
        {
          path: '/wallet/withdraw',
          name: 'Withdraw',
          component: () => import(/* webpackChunkName: "about" */ '../views/pages/Wallet/Withdraw.vue'),
        }
      ]
    }
]

export default route